package com.wgu.demo;

import com.wgu.common.utils.CharUtils;

/**
 * Created by w on 2019/6/27.
 */
public class Demo {
    public static void main(String[] args) {
        String typeText = "作                者：宅猪";

        String[] aa =  typeText.split("\\s+");
        StringBuilder mm=new StringBuilder(typeText);
        System.out.println(mm.toString());
        for(String str:aa){
            mm.append(str).append("||");
        }
        System.out.println(mm.toString());
        String str = "2.5";
        System.out.println(CharUtils.canParseInt(str));
    }

}
